package online.heycm.platform.canary.common;

import lombok.Data;

/**
 * 灰度规则
 *
 * @author heycm
 * @since 2023/12/30 13:19
 */
@Data
public class CanaryRule {

    /**
     * 灰度ID
     */
    private String id;

    /**
     * 服务ID
     */
    private String serviceId;

    /**
     * 灰度路由
     */
    private String path;

    /**
     * 灰度策略
     */
    private String canaryStrategy;

    /**
     * 灰度值
     */
    private String canaryValue;

    /**
     * 灰度启停
     */
    private boolean enable;

    public boolean getEnable() {
        return enable;
    }
}
